_plane = _this select 0;

_num = 0;

for [{_n=1},{_n<=(count RUM_FXDAircraft)},{_n=_n+1}] do {
	_lib = RUM_FXDAircraft select (_n-1);
	_libplane = _lib select 0;
	if(_libplane == _plane)then{_num = (_n-1)};
};

RUM_FXDAircraft set [_num,"del"];
RUM_FXDAircraft = RUM_FXDAircraft - ["del"];
publicVariable RUM_FXDAircraft;

if(true)exitwith{};